﻿namespace MhAdmin.SqlSugar;

/// <summary>
/// 编码规则使用日志
///</summary>
[SugarTable("dev_rules_log", TableDescription = "编码规则使用日志")]
[Tenant(SqlsugarConst.DB_Default)]
public class DevRulesLog : DataEntityBase
{
    /// <summary>
    /// 编号
    ///</summary>
    [SugarColumn(ColumnName = "RuleCode", ColumnDescription = "编号")]
    public string RuleCode { get; set; }

    /// <summary>
    /// 使用日期
    ///</summary>
    [SugarColumn(ColumnName = "UsedDate", ColumnDescription = "使用日期")]
    public string UsedDate { get; set; }

    /// <summary>
    /// 已使用数量
    ///</summary>
    [SugarColumn(ColumnName = "Used", ColumnDescription = "已使用数量")]
    public int Used { get; set; }

    /// <summary>
    /// 初始生成时间戳
    /// </summary>
    [SugarColumn(ColumnName = "timestamp", ColumnDescription = "时间戳")]
    public long Timestamp { get; set; }
}
